
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<!-- 封梦琳 -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>新增票务信息</title>
<link rel="stylesheet" type="text/css" href="js/util/easyui/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="js/util/easyui/themes/icon.css">
<link rel="stylesheet" type="text/css" href="js/util/easyui/demo/demo.css">
<script type="text/javascript" src="js/util/jquery/jquery-3.2.1.min.js"></script>
<script type="text/javascript" src="js/util/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="js/util/easyui/locale/easyui-lang-zh_CN.js"></script>


<script type="text/javascript">
Date.prototype.format = function(format) {  
    var o = {  
        "M+": this.getMonth() + 1, // month  
        "d+": this.getDate(), // day  
        "h+": this.getHours(), // hour  
        "m+": this.getMinutes(), // minute  
        "s+": this.getSeconds(), // second  
        "q+": Math.floor((this.getMonth() + 3) / 3), 
        "S": this.getMilliseconds()  
        // millisecond  
    }  
    if (/(y+)/.test(format))  
        format = format.replace(RegExp.$1, (this.getFullYear() + "")  
            .substr(4 - RegExp.$1.length));  
    for (var k in o)  
        if (new RegExp("(" + k + ")").test(format))  
            format = format.replace(RegExp.$1, RegExp.$1.length == 1 ? o[k] : ("00" + o[k]).substr(("" + o[k]).length));  
    return format;  
}  

</script>
</head>

<body class="write_bg">
<form action="adminServlet?param=add" method="post">
  <table width="100%" border="0" cellspacing="0">
    <tr>
      <td height="30"></td>
    </tr>
  </table>
<table width="835" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="20" colspan="2" ></td>
  </tr>
  <tr>
    <td width="64" height="30"  ></td>
    <td width="771" height="30" valign="top"  class="text_blod_title">新增票务信息</td>
  </tr>
  <tr>
    <td colspan="2" ><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="64"></td>
        <td width="771" height="25" align="left" class="text_cray">注：标有<span class="text_red"> *</span> 处，均为必填项</td>
      </tr>
      <tr>
        <td></td>
        <td height="15"></td>
      </tr>
    </table>
      <table width="700" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td height="10" colspan="6" ></td>
          </tr>
          <div class="fitem">
				<label> 车次: </label> <input name="trainNumber"
					class="easyui-validatebox" required="true">
			</div>
			<div class="fitem">
				<label> 始站: </label> <input name="startStation" class="easyui-validatebox"
					required="true">
			</div>
			<div class="fitem">
				<label> 终点站: </label> <input name="terminalStation"
					class="easyui-validatebox" required="true">
			</div>
			<div class="fitem">
				<label> 时间: </label> <input class="easyui-datetimebox"
					name="time" data-options="required:true"
					style="width:150px">
			</div>
			<div class="fitem">
				<label> 价格: </label> <input name="price" class="easyui-validatebox"
					required="true">
			</div>
			<div class="fitem">
				<label> 余票: </label> <input name="remainingTickets" class="easyui-validatebox"
					required="true">
			</div>
        </table>
</table><br>
<table width="700" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
   
    <td width="50" height="30" align="center"><input name="button" type="submit" class="buttj" id="button" value="提交"></td>
    <td width="98" ></td>
    <td width="50" align="center"><input name="button2" type="reset" class="butcz" id="button2" value="重置"></td>
    <td width="92" ></td>
  </tr>
</table>
<table width="100%" border="0" cellspacing="0">
  <tr>
    <td height="25" align="center" class="text_cray">copyright@12306 购票网</td>
  </tr>
</table>
</form>
</body>
</html>
